- 
		Home
	
 
	- 
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
 
- 
2.20.3
 
- 
Code
 
- 
Classes
 
-  IntegrationService 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											53 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											427 | 
										
																			
											| Lines of code | 
											187 | 
										
																			
											| Logical lines of code | 
											93 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											179 | 
										
																			
											| Methods | 
											24 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 24
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| onPurchaseUpdated() | 
									A  | 
																	46 | 
													9 | 
													39 | 
							
					
				| onPurchaseProductUpdated() | 
									S  | 
																	54 | 
													7 | 
													23 | 
							
					
				| callMethod() | 
									S  | 
																	54 | 
													7 | 
													21 | 
							
					
				| purchaseIsNotMatchedWithPriceOrVariant() | 
									S  | 
																	62 | 
													5 | 
													11 | 
							
					
				| getIntegrationData() | 
									S  | 
																	67 | 
													3 | 
													9 | 
							
					
				| bootstrap() | 
									S  | 
																	60 | 
													2 | 
													12 | 
							
					
				| _getItem() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| getIntegrationsFromPurchase() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| getName() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getModel() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getLogo() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getLabel() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getItemLabel() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getItemHelp() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getItems() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getItem() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| enabled() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getPurchase() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getPurchaseId() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getUser() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| onPurchaseQuantityUpdated() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getCurrentAction() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| indexProviders() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| findProvider() | 
									S  | 
																	64 | 
													1 | 
													10 |